package zhihui.mobile.bean.page;

/**
 * Created by 张公铭 on 2017/7/27 0027.
 */

public class PageInfo
{
    private boolean firstPage;
    private boolean lastPage;
    private int pageNumber;
    private int pageSize;
    private int totalRow;
    private int totalPage;

    public boolean isFirstPage()
    {
        return firstPage;
    }

    public boolean isLastPage()
    {
        return lastPage;
    }

    public int getPageNumber()
    {
        return pageNumber;
    }

    public int getPageSize()
    {
        return pageSize;
    }

    public int getTotalRow()
    {
        return totalRow;
    }

    public int getTotalPage()
    {
        return totalPage;
    }

    public void setFirstPage(boolean firstPage)
    {
        this.firstPage = firstPage;
    }

    public void setLastPage(boolean lastPage)
    {
        this.lastPage = lastPage;
    }

    public void setPageNumber(int pageNumber)
    {
        this.pageNumber = pageNumber;
    }

    public void setPageSize(int pageSize)
    {
        this.pageSize = pageSize;
    }

    public void setTotalRow(int totalRow)
    {
        this.totalRow = totalRow;
    }

    public void setTotalPage(int totalPage)
    {
        this.totalPage = totalPage;
    }
}
